'''
* This is the projet for Brtc LlmOps Platform
* @Author Leon-liao <liaosiliang@alltman.com>
* @Description //TODO 
* @File: 2_study_markdown_loader.py
* @Time: 2025/10/29
* @All Rights Reserve By Brtc
'''
from langchain_community.document_loaders import UnstructuredMarkdownLoader

#loader = UnstructuredMarkdownLoader("./01.项目API文档.md")
loader = UnstructuredMarkdownLoader("./01.项目API文档.md", mode="elements")
documents = loader.load()

print(documents)
print("长度=======>", len(documents))
#print(documents[0].metadata)